@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>通行日志管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="carNumber" name="车牌号" />
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="beginTime" name="起始时间" isTime="false" pattern="YYYY-MM-DD hh:mm:ss" />
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="endTime" name="结束时间" isTime="false" pattern="YYYY-MM-DD hh:mm:ss" />
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="logType" name="日志类型" >
                                    <option value="全部日志">全部日志</option>
                                    <option value="正常通行记录">正常通行记录</option>
                                    <option value="异常通行记录">异常通行记录</option>
                                </#SelectCon>
                        </div>
                            <div class="col-sm-2">
                                <#button name="搜索" icon="fa-search" clickFun="ActionLog.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="ActionLogTableToolbar" role="group">
                            @if(shiro.hasPermission("/actionLog/add")){
                                <#button name="添加" icon="fa-plus" clickFun="ActionLog.openAddActionLog()"/>
                            @}
                            @if(shiro.hasPermission("/actionLog/update")){
                                <#button name="修改" icon="fa-edit" clickFun="ActionLog.openActionLogDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/actionLog/delete")){
                                <#button name="删除" icon="fa-trash" clickFun="ActionLog.delete()" space="true"/>
                            @}
                            &nbsp;&nbsp;&nbsp;&nbsp;
                                <#button name="查看详情" icon="fa-info" clickFun="ActionLog.detail()"/>
                            @if(shiro.hasPermission("/actionLog/delLog")){
                            <#button name="清空日志" icon="fa-remove" clickFun="ActionLog.delLog()" space="true"/>
                            @}
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <#button name="导出Excel" icon="fa-print" clickFun="ActionLog.download()"/>
                        </div>
                        <#table id="ActionLogTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/ActionLog/actionLog/actionLog.js"></script>
<script>
    laydate.render({
        elem: '#beginTime',
        type: 'datetime'
    });
    laydate.render({
        elem: '#endTime',
        type: 'datetime'
    });
</script>
@}
